export interface SysRole {
  roleId: string
  roleName: string
}

export interface SysRoleMenu {
  id?: string
  roleId: string
  menuId: string
}

export interface SaveRoleMenuDto {
  roleId: string
  menuIds: string[]
}

export interface RoleMenuTree {
  menuId: string
  menuName: string
  checked?: boolean
  disabled?: boolean
  children?: RoleMenuTree[]
}

export interface SysRolePermission {
  rolePermissionId?: string
  roleId: string
  menuId: string
  permissionId: string
  permissionCode?: string
}

export interface PermissionMenu {
  menuId: string
  permissionCode: string
  menuName: string
  parentId: string
  checked?: boolean
}
